xen: add helpers for PDX mask initialisation calculations
authorIan Campbell <ian.campbell@citrix.com>
Tue, 16 Sep 2014 20:01:41 +0000 (21:01 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 22 Sep 2014 16:02:30 +0000 (17:02 +0100)
commit333dd94230b21427c9f52fa5b9d844bff1c2ab7c
treea76fff1d641333fc915c870344ff1d705b817a4d
parente028cedcae2edafb6ba176ec1e8c269346be05bc
xen: add helpers for PDX mask initialisation calculations

I wanted to make fill_mask a public function so I could use it on ARM, but it
was actually easier to think of a (semi) reasonable public name for the users
of it, so that is what I have done.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
xen/arch/x86/srat.c
xen/common/pdx.c
xen/include/xen/pdx.h